package com.meilai.project.mapper.personnel.onTurn;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.dto.personnel.onTurn.RegularApplyListDTO;
import com.meilai.project.entity.personnel.onTurn.RegularApply;
import com.meilai.project.vo.personnel.onTurn.RegularApplyVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 入编申请 Mapper 接口
 * </p>
 *
 * @author xchen
 * @since 2022-01-20
 */
public interface RegularApplyMapper extends BaseMapper<RegularApply> {

    RegularApplyVO queryDetailById(@Param("id") Long id, @Param("roster_id") Long roster_id);

    List<RegularApplyVO> selectPageList(Page<RegularApplyVO> page,
                                        @Param("query") RegularApplyListDTO dto);

}
